﻿using Assets.Game.scripts.ui.models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;

namespace Assets.Game.scripts.ui.controllers {

    [RequireComponent(typeof(BuildingPrototypeItemRendererModel))]
    class BuildingPrototypeItemRendererController : MonoBehaviour {

        public void Start(){

            //imposto le icone
            BuildingPrototypeItemRendererModel model = this.GetComponent<BuildingPrototypeItemRendererModel>();
            if (model.prototype != null) {
                UIAtlas atlasName = model.prototype.atlasName;
                string atlasIconName = model.prototype.iconName;
            }

        }

    }
}
